package org.nvframe.component;

import org.nvframe.entity.Entity;

/**
 * 
 * @author Nik Van Looy
 */
public abstract class AbstractComponent implements Component {

	protected String id;
	protected Entity owner;
	
	public AbstractComponent(String id, Entity owner) {
		setId(id);
		setOwner(owner);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public Entity getOwner() {
		return owner;
	}
	
	public void setOwner(Entity owner) {
		this.owner = owner;
	}

	public void removed(Entity entity) {
	}
	
}